from . import news_blue
from flask import session,render_template,current_app


@news_blue.route('/')
def index():
    session['pyton'] = '14'
    return render_template('news/index.html')

@news_blue.route('/fivicon.ico')
def favicon():
    return current_app.send_static_file('news/favicon.ico')